<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格</title>
</head>
<body>
    <!-- 设置单元格属性 -->
    <!-- 表格居中 边框 单元格内容和边框的距离 相邻单元格的距离 表格宽度 表格高度 -->
    <table align="center" border="1" cellpadding="0" cellspacing="0" width="500" height="200">
        <thead>
            <tr> 
                <th>姓名</th> 
                <th>性别</th> 
                <th>年龄</th>
            </tr>
        </thead>
        
        <tbody>
            <tr align="center"> 
                <td>孙悟空</td> 
                <td>男</td> 
                <td>500</td>
            </tr>

            <tr align="center"> 
                <td>李白</td> 
                <td>男</td> 
                <td>20</td>
            </tr>
            
            <tr align="center"> 
                <td>天使彦</td> 
                <td>女</td> 
                <td>7989</td>
            </tr>
        </tbody>
        
    </table>
</body>
</html>
!